<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:template match="event">
		<html>
			<head>
				<title><xsl:value-of select="title"/></title>
			</head>
			<body>
				<h1><xsl:value-of select="title"/></h1>
				<xsl:apply-templates select="location"/>
			</body>
		</html>
	</xsl:template>

	<xsl:template match="location">
		<div id="location">
			<xsl:value-of select="name"/>
		</div>
	</xsl:template>

</xsl:stylesheet>
